package com.yfux.cling_player.service.controller;

import com.yfux.cling_player.nums.RenderState;

public abstract class RenderControl {

    public long getCurrentPosition() {
        return 0;
    }

    ;

    public long getDuration() {
        return 0;
    }

    public void play(Double speed) {
        if (speed == null) {
            speed = 1.0;
        }
    }

    public void pause() {
    }

    public void seek(long millSeconds) {
    }

    public void stop() {
    }

    public RenderState getState() {
        return RenderState.IDLE;
    }
}